#ifndef LINKPARSER_H_
#define LINKPARSER_H_
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <queue>
#include "NCManager.h"

class LinkParser
{
public:
	LinkParser();
	virtual ~LinkParser();
	static int getLinksFromFile(NCManager* ship, std::ifstream* file, const std::string urlBase);
	static int getLinksFromFile(NCManager* ship, std::string htmlbase, const std::string baseUrl);
	static std::string tratarLinks(std::string baseLink,std::string baseUrl);
private:
	static bool PossuiExtensaoProibida(std::string url);
};

#endif /*LINKPARSER_H_*/
